package com.db.compare.core;


import java.util.List;

public interface BaseDao<T,V> {

    int deleteByPrimaryKey(Integer id);

    int insert(T t);

    @Deprecated
    int insertSelective(T t);

    T selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(T t);

    int updateByPrimaryKey(T record);

    List<T> findList(V v);

    void deleteByBatch(String[] ids);

    List<T> findByIds(String[] arrays);

    void insertList(List<T> tList);

}
